Optimal. Leaf size=24 \[ \frac{\tan ^{-1}\left (\frac{\sqrt{a} x}{\sqrt{b}}\right )}{\sqrt{a} \sqrt{b}} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0282907, antiderivative size = 24, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.154 \[ \frac{\tan ^{-1}\left (\frac{\sqrt{a} x}{\sqrt{b}}\right )}{\sqrt{a} \sqrt{b}} \]
Antiderivative was successfully verified.
[In] Int[1/((a + b/x^2)*x^2),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 4.10977, size = 22, normalized size = 0.92 \[ \frac{\operatorname{atan}{\left (\frac{\sqrt{a} x}{\sqrt{b}} \right )}}{\sqrt{a} \sqrt{b}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(1/(a+b/x**2)/x**2,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.00812181, size = 24, normalized size = 1. \[ \frac{\tan ^{-1}\left (\frac{\sqrt{a} x}{\sqrt{b}}\right )}{\sqrt{a} \sqrt{b}} \]
Antiderivative was successfully verified.
[In] Integrate[1/((a + b/x^2)*x^2),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.001, size = 16, normalized size = 0.7 \[{1\arctan \left ({ax{\frac{1}{\sqrt{ab}}}} \right ){\frac{1}{\sqrt{ab}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(1/(a+b/x^2)/x^2,x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/((a + b/x^2)*x^2),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.231282, size = 1, normalized size = 0.04 \[ \left [\frac{\log \left (\frac{2 \, a b x +{\left (a x^{2} - b\right )} \sqrt{-a b}}{a x^{2} + b}\right )}{2 \, \sqrt{-a b}}, \frac{\arctan \left (\frac{\sqrt{a b} x}{b}\right )}{\sqrt{a b}}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/((a + b/x^2)*x^2),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 0.313873, size = 53, normalized size = 2.21 \[ - \frac{\sqrt{- \frac{1}{a b}} \log{\left (- b \sqrt{- \frac{1}{a b}} + x \right )}}{2} + \frac{\sqrt{- \frac{1}{a b}} \log{\left (b \sqrt{- \frac{1}{a b}} + x \right )}}{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(a+b/x**2)/x**2,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.231668, size = 20, normalized size = 0.83 \[ \frac{\arctan \left (\frac{a x}{\sqrt{a b}}\right )}{\sqrt{a b}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/((a + b/x^2)*x^2),x, algorithm="giac")
[Out]